package cn.tedu.qxhouserent.passport.mapper;

import cn.tedu.qxhouserent.passport.pojo.entity.Role;
import cn.tedu.qxhouserent.passport.pojo.vo.RoleListItemVO;
import cn.tedu.qxhouserent.passport.pojo.vo.RoleStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoleMapper extends BaseMapper<Role> {

    List<RoleListItemVO> list();

    RoleStandardVO getStandardById(Long id);

}
